<?php
/************************************************************
*                                                           *
*       author: Sebastian Elias Franco Brantes              *
*       description: Modelo Usuario                         *
*       Date: 11-06-2012                                    *
*                                                           *
************************************************************/
class usuarioModel extends ModelBase
{
    private $_consulta; 
    
    function consultarUsuario($usuario,$password){
	$this->_consulta = $this->db->prepare("select usu_usuario from usuarios where usu_usuario='".$usuario."' and usu_contrasena='".$password."' ");
	$this->_consulta->execute();
	return $this->_consulta;        
    }

}

?>
